
//
//  SCUser.h
//  Scalper
//
//  Created by 王云 on 2017/9/23.
//  Copyright © 2017年 WY. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SCUser : NSObject

/** 是否登录 */
@property (nonatomic,assign)BOOL isLogin;

//token
@property (nonatomic,copy)NSString *token;
//头像
@property (nonatomic,copy)NSString *member_avatar;
//id
@property (nonatomic,copy)NSString *member_id;
//手机号
@property (nonatomic,copy)NSString *member_mobile;
//用户名
@property (nonatomic,copy)NSString *member_name;
//性别  1 男 0  女
@property (nonatomic,copy)NSString *member_sex;
//用户类型type  0 普通 1 商户
@property (nonatomic,copy)NSString *member_type;
//绑定
@property (nonatomic,copy)NSString *member_email_bind;
//会员的开启状态  1 开启 0 
@property (nonatomic,copy)NSString *member_state;
//审核状态  0未申请  10 已申请  20 入驻成功
@property (nonatomic,copy)NSString *joinin_state;
//门店名字
@property (nonatomic,copy)NSString *store_name;
//销售人员名字
@property (nonatomic,copy)NSString *bd_name;
//销售人员电话
@property (nonatomic,copy)NSString *bd_phone;
//店铺总额度
@property (nonatomic,copy)NSString *credit_total;
//已核销额度
@property (nonatomic,copy)NSString *credit_coupon_consumed;
//已分配额度
@property (nonatomic,copy)NSString *credit_coupon_assigned;
//未分配总额度
@property (nonatomic,copy)NSString *credit_undefined;
//已销售额度
@property (nonatomic,copy)NSString *credit_coupon_sold;
//加入时间
@property (nonatomic,copy)NSString *joinin_time;
//经营类目ID
@property (nonatomic,copy)NSString *gc_id;
//经营类目名字
@property (nonatomic,copy)NSString *gc_name;

//店长姓名
@property (nonatomic,copy)NSString *contacts_name;
//店长电话
@property (nonatomic,copy)NSString *contacts_phone;
//老板姓名
@property (nonatomic,copy)NSString *boss_name;
//老板电话
@property (nonatomic,copy)NSString *store_phone;

//1店主 2店员
@property (nonatomic,assign)NSInteger write_off_member_type;

//手机号绑定状态   0 未绑定  1已绑定
@property (nonatomic,assign)NSInteger member_mobile_bind;

//门店图片
@property (nonatomic,copy)NSString *store_banner;

//商户类型  1 A  2B1
@property (nonatomic,assign)NSInteger store_type;

singleton_interface(SCUser);

- (void)encodeWithCoder:(NSCoder *)aCoder;
- (id)initWithCoder:(NSCoder *)aDecoder;



@end
